package cn.wolfcode.trip.base.mapper;

import cn.wolfcode.trip.base.domain.NewsCatalog;
import cn.wolfcode.trip.base.query.QueryObject;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface NewsCatalogMapper {
    int deleteByPrimaryKey(Long id);

    int insert(NewsCatalog record);

    NewsCatalog selectByPrimaryKey(Long id);

    int updateByPrimaryKey(NewsCatalog record);

    List<NewsCatalog> queryForList(QueryObject qo);

    Long selectSequence();


    List<NewsCatalog> selectAll();

}